package com.zlp.mall.modules.oss.service;



import com.zlp.mall.modules.oss.dto.OssCallbackResp;
import com.zlp.mall.modules.oss.dto.OssPolicyResp;

import javax.servlet.http.HttpServletRequest;

/**
 * Oss对象存储管理Service
 * Created by macro on 2018/5/17.
 */
public interface OssService {
    /**
     * Oss上传策略生成
     */
    OssPolicyResp policy();
    /**
     * Oss上传成功回调
     */
    OssCallbackResp callback(HttpServletRequest request);
}
